package com.ruoyi.refund.mapper;

import java.util.List;
import com.ruoyi.refund.domain.RefundOrder;

/**
 * 退款订单Mapper接口
 * 
 * @author ruoyi
 * @date 2025-04-09
 */
public interface RefundOrderMapper 
{
    /**
     * 查询退款订单
     * 
     * @param id 退款订单主键
     * @return 退款订单
     */
    public RefundOrder selectRefundOrderById(Long id);

    /**
     * 查询退款订单列表
     * 
     * @param refundOrder 退款订单
     * @return 退款订单集合
     */
    public List<RefundOrder> selectRefundOrderList(RefundOrder refundOrder);

    /**
     * 新增退款订单
     * 
     * @param refundOrder 退款订单
     * @return 结果
     */
    public int insertRefundOrder(RefundOrder refundOrder);

    /**
     * 修改退款订单
     * 
     * @param refundOrder 退款订单
     * @return 结果
     */
    public int updateRefundOrder(RefundOrder refundOrder);

    /**
     * 删除退款订单
     * 
     * @param id 退款订单主键
     * @return 结果
     */
    public int deleteRefundOrderById(Long id);

    /**
     * 批量删除退款订单
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteRefundOrderByIds(Long[] ids);
}
